package ysu.sxm.ptjc.Domin;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import javax.persistence.Entity;

@Component
@Data
@EqualsAndHashCode
@NoArgsConstructor

public class Result {
    Object date;
    String message;
    int code;
   public Result(Object date,String message,int code){
        this.date=date;
        this.message=message;
        this.code=code;
    }


}
